package com.jsj.service;

import com.jsj.pojo.Admin;

import java.util.List;

public interface AdminService {

    Admin queryAdmin(String username, String password, String duty);
    List<Admin> queryAllAdmin();
    Boolean updateByAdminId(Admin admin);
    Boolean addAdmin(Admin admin);
    Boolean deleteById(int id);
    Admin queryAdminById(int id);
}
